﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BizCollegeWebApp.Models.Course>" %>

<table>
<tr>
    <td>
        <%: Html.ActionLink("Course Description", "EditCourse", new{id = Model.CourseID}) %>
    </td>
</tr>
<% foreach (var item in Model.CourseContents) { %>
    <tr>
        <td>
           <%: Html.ActionLink(item.SectionName, "EditSection", new {id = item.ContentID}) %>
        </td>
    </tr>
<% } %>

</table>
